package com.zbkj.crmeb.chant.request;

import com.common.PageParamRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PickingProductsRequest extends PageParamRequest implements Serializable {

    @ApiModelProperty(value = "批采单id")
    @NotNull(message = "批采单id不能为空")
    private Integer pickingId;

    @ApiModelProperty(value = "分类id集合")
    private List<Integer> cateIds;

    @ApiModelProperty(value = "品牌id集合")
    private List<Integer> brandIds;

    @ApiModelProperty(value = "发货地")
    private List<Integer> stockAreas;

    @ApiModelProperty(value = "供应商ID集合")
    private List<Integer> supplierIds;

    @ApiModelProperty(value = "关键字搜索， 支持(商品名称, 商品id, 关键字)")
    private String keywords;

    @ApiModelProperty(value = "商品类型 1:自建  2:云仓")
    private Integer productType;

    @ApiModelProperty(value = "商户id",hidden = true)
    private Integer merId;

    @ApiModelProperty(value = "不可见分类id集合",hidden = true)
    private List<Integer> invisibleCateIds;

    @ApiModelProperty(value = "可见品牌id集合",hidden = true)
    private List<Integer> visibleBrandIds;

    @ApiModelProperty(value = "可见发货地",hidden = true)
    private List<Integer> visibleTempIds;

    @ApiModelProperty(value = "可见供应商ID集合",hidden = true)
    private List<Integer> visibleSupplierIds;

    @ApiModelProperty(value = "是否小程序列表 0否 1是",hidden = true)
    private Integer isApplet;

    @ApiModelProperty(value = "是否导出图片")
    private Boolean isImg;

}